home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / DeepPict 1.0 / ReadMe DeepPict CDEF < prev   
Text File  |  1996-06-10  |  2KB  |  53 lines

  1. DeepPict V1.0
  2. ©1996 AKUA interactive media AG. All rights reserved.
  3.  
  4. Released: 10. June, 1996.
  5.  
  6.  
  7. What it be?
  8. DeepPict is a “better picture item” for dialogs. With DeepPict, you can have different depths (including 1-bit) pictures and have DeepPict select the right one for the monitor(s) it is displayed on. DeepPict does work across multiple monitors. DeepPict is small (2.5K).
  9.  
  10. By default, DeepPict will use two PICTs, one for 1-3 bit monitors and another for 4-bit and higher. You can modify this behaviour with a PIC# resource (see below).
  11.  
  12.  
  13. What else?
  14. DeepPict has the following variants (and combinations thereof):
  15.  
  16. Variant 1:    Always returns 0 to TestControl, thereby avoiding redraws over any overlapping items.
  17.  
  18. Variant 2: Reserved,
  19.  
  20. Variant 4: Reserved.
  21.  
  22. Variant 8: Unused
  23.  
  24. See the demo file with ResEdit or (better yet) Resorcerer,
  25.  
  26. DeepPict supports automatic 1-2 (BW) and 3-above (Color) without any extra resources. The one-bit PICT should be just before the colour PICT in ResNums. You may either store the ResNum in the control’s maximum field or use the name of the control to choose the PICTs by setting contrlMax zero.
  27.  
  28. DeepPict loads and releases the PICTs as necessary. With a ‘PIC#’ resource, you can have DeepPict load the PICTs for various depths you choose. When finding a PICT, DeepPict looks at (DepthOfCurrentMonitor & DepthMask) in the template. If no match is found, DeepPict will use the first PICT in the PIC# (which should be B&W if you want to support old Macs without ColourQD).
  29.  
  30. Tbe loading and releasing of PICTs can be dangerous. If you have multiple instances of a DeepPict control using the same PICT, make sure it uses a PIC#, so DeepPict can logon/logoff the usages. While not in use, PICTs are made purgeable.
  31.  
  32.  
  33. Can I use (distribute) it?
  34. Sure.
  35.  
  36.  
  37. What's the catch?
  38. 22 :-)
  39.  
  40. A credit is due somewhere visible containing the following string:
  41.  
  42. "DeepPict Control ©1996 AKUA interactive media AG"
  43.  
  44.  
  45. Who wrote it?
  46. For questions, comments, or to let me know you are using DeepPict in your product, contact:
  47.  
  48. Gregory Lemperle-Kerr
  49.  
  50. AKUA interactive media AG, ASTARTE GmbH & AKUA interactive media, inc.
  51.  
  52. Internet: ASTARTE@AppleLink.apple.com or 100441.1272@CompuServe.com
  53.